using Godot;
using System;

using CurrentGame.Placements;


public partial class LightBurstRange : Area2D
{
	// Export interfaces
	public void BurstAction()
	{
		var bodies = GetOverlappingBodies();
		foreach (var body in bodies)
		{
			if (body is WallStaticBody wall)
			{
				wall.WallReference.BreakWall();
			}
		}
	}
}
